package Game;

import hkr.se1.cyvasse.R;

public class Spearmen extends Piece {

	private boolean isDefending;
	
	public Spearmen(boolean isBlack) {

		super();
		if (isBlack) {
			this.blackImageId = R.drawable.black_spearman;
		} else {
			this.whiteImageId = R.drawable.white_spearman;
		}
		this.isBlack = isBlack;
		movement = 1;
		power = 2;
	}
	
	public void setDefending(boolean cond){
		isDefending = cond;
	}
	
	public boolean isDefending(){
		return isDefending;
	}
}
